Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'RepNoskheh'
IF not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Status')
  Alter Table dbo.RepNoskheh Add Status Char(1) Null
  

Select @Id = Id From sysobjects Where Name = 'RepNoskheh'
IF not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Nu_Forosh')
  Alter Table dbo.RepNoskheh Add  Nu_Forosh Varchar(8) Null


